Skip to content

[codex] Add verifier CLI compatibility telemetry - #1913

Merged
stranske merged 4 commits into
mainfrom
codex/workflows-system-review-slice-99
Apr 26, 2026
Merged

[codex] Add verifier CLI compatibility telemetry#1913
stranske merged 4 commits into
mainfrom
codex/workflows-system-review-slice-99

Conversation

@stranske

@stranske stranske commented Apr 26, 2026

Copy link
Copy Markdown
Owner

Source: Issue #1836

Related to campaign issue #1836

Automated Status Summary

Scope

Sync/Dependabot Campaign Queue

Remote GitHub Actions owns discovery for sync-generated and Dependabot PR rounds. Local Codex should only claim items from this issue when needs-local-codex work is queued.

Summary

Context for Agent

Related Issues/PRs

Tasks

  • Updated: 2026-04-26T18:32:26.404Z
  • Repos checked: 11/11
  • Open sync PRs: 549
  • Open Dependabot PRs: 0
  • Active review threads queued: 1153
  • Items needing local Codex: 0
  • Actionable local Codex items: 0
  • Claimable local Codex items: 0
  • Source-fixed candidates: 1
  • Superseded sync candidates: 119
  • Finished local results without published source changes: 0
  • Claimed local Codex items: 1
  • Next claim lease expires: 2026-04-26T19:53:31Z

Acceptance criteria

Head SHA: af12050
Latest Runs: ✅ success — Gate
Required: gate: ✅ success

Workflow / Job Result Logs
Gate ✅ success View run
Health 40 Sweep ✅ success View run
Health 44 Gate Branch Protection ⏳ pending View run
Health 45 Agents Guard ✅ success View run
Health 50 Security Scan ✅ success View run
Health 72 Template Sync ✅ success View run
Health 73 Template Completeness ✅ success View run
Maint 52 Validate Workflows ✅ success View run
PR 11 - Minimal invariant CI ✅ success View run
Selftest CI ✅ success View run
Validate Sync Manifest ✅ success View run

Copilot AI review requested due to automatic review settings April 26, 2026 18:37
@agents-workflows-bot

agents-workflows-bot Bot commented Apr 26, 2026

Copy link
Copy Markdown
Contributor

Automated Status Summary

Head SHA: a57ae50
Latest Runs: ⏳ pending — Gate
Required contexts: Gate / gate, Health 45 Agents Guard / guard
Required: core tests (3.12): ⏳ pending, core tests (3.13): ⏳ pending, docker smoke: ⏳ pending, gate: ⏳ pending

Workflow / Job Result Logs
(no jobs reported) ⏳ pending

Coverage Overview

  • Coverage history entries: 1

Coverage Trend

Metric Value
Current 93.12%
Baseline 85.00%
Delta +8.12%
Minimum 70.00%
Status ✅ Pass

Top Coverage Hotspots (lowest coverage)

File Coverage Missing
src/cli_parser.py 81.8% 4
src/percentile_calculator.py 95.0% 1
src/aggregator.py 95.0% 2
src/__init__.py 100.0% 0
src/ndjson_parser.py 100.0% 0

Updated automatically; will refresh on subsequent CI/Docker completions.


Keepalive checklist

Scope

Sync/Dependabot Campaign Queue

Remote GitHub Actions owns discovery for sync-generated and Dependabot PR rounds. Local Codex should only claim items from this issue when needs-local-codex work is queued.

Summary

Context for Agent

Related Issues/PRs

Tasks

  • Updated: 2026-04-26T18:32:26.404Z
  • Repos checked: 11/11
  • Open sync PRs: 549
  • Open Dependabot PRs: 0
  • Active review threads queued: 1153
  • Items needing local Codex: 0
  • Actionable local Codex items: 0
  • Claimable local Codex items: 0
  • Source-fixed candidates: 1
  • Superseded sync candidates: 119
  • Finished local results without published source changes: 0
  • Claimed local Codex items: 1
  • Next claim lease expires: 2026-04-26T19:53:31Z

Acceptance criteria

@stranske
stranske temporarily deployed to agent-high-privilege April 26, 2026 18:40 — with GitHub Actions Inactive

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds telemetry and aggregation for the installed @openai/codex CLI version used by the verifier, and enforces a reviewed compatibility contract between verifier model candidates and the pinned CLI version.

Changes:

  • Capture the installed Codex CLI version in reusable-agents-verifier.yml, and emit it into verifier metrics + terminal-disposition records.
  • Normalize/accept llm_cli_version in terminal-disposition normalization (source + consumer template), with tests updated accordingly.
  • Aggregate and surface verifier CLI-version counts in weekly metrics summaries/contracts, with Python tests updated.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.github/workflows/reusable-agents-verifier.yml Pins and captures Codex CLI version; threads it into metrics and terminal-disposition output.
.github/scripts/terminal_disposition.js Normalizes llm_cli_version into terminal disposition records.
templates/consumer-repo/.github/scripts/terminal_disposition.js Mirrors terminal-disposition normalization change for consumer template.
.github/scripts/__tests__/terminal-disposition.test.js Extends JS normalization tests to assert llm_cli_version.
scripts/aggregate_agent_metrics.py Adds verifier_cli_versions aggregation and includes it in summary output.
tests/scripts/test_aggregate_agent_metrics.py Updates/extends aggregator tests to validate CLI-version counting and contract output.
tests/workflows/test_verifier_terminal_disposition.py Adds workflow-level contract test ensuring model candidates have a reviewed minimum CLI mapping and the pinned CLI meets it.

Comment on lines 506 to 512
terminal_sources = Counter()
verifier_models = Counter()
model_selection_reasons = Counter()
verifier_cli_versions = Counter()
unsupported_verifier_models = Counter()
unsupported_model_dispositions = Counter()
missing_verifier_model_metadata = Counter()

Copilot AI Apr 26, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scripts/aggregate_agent_metrics.py is marked template_sync: exact in .github/sync-manifest.yml (so the consumer template copy must be updated in the same PR). The template version at templates/consumer-repo/scripts/aggregate_agent_metrics.py does not currently include the new verifier_cli_versions counter/contract field, which will cause template drift and likely fail sync validation.

Copilot uses AI. Check for mistakes.
@stranske
stranske merged commit e10faa7 into main Apr 26, 2026
56 checks passed
@stranske
stranske deleted the codex/workflows-system-review-slice-99 branch April 26, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants